import request from '@/utils/request'

// 查询会员卡订单列表
export function listAxMemberOrder(query) {
  return request({
    url: '/ax/AxMemberOrder/list',
    method: 'get',
    params: query
  })
}

// 查询会员卡订单详细
export function getAxMemberOrder(id) {
  return request({
    url: '/ax/AxMemberOrder/' + id,
    method: 'get'
  })
}

// 新增会员卡订单
export function addAxMemberOrder(data) {
  return request({
    url: '/ax/AxMemberOrder',
    method: 'post',
    data: data
  })
}

// 修改会员卡订单
export function updateAxMemberOrder(data) {
  return request({
    url: '/ax/AxMemberOrder',
    method: 'put',
    data: data
  })
}

// 删除会员卡订单
export function delAxMemberOrder(id) {
  return request({
    url: '/ax/AxMemberOrder/' + id,
    method: 'delete'
  })
}
